<?php
/**
 * Created by PhpStorm.
 * User: zhangrxiang
 * Date: 2017/7/13
 * Time: 16:56
 * Project name: PHPTEST
 * File name: 6.php
 * @copyright Copyright (c) 2016 ZRX Software LLC
 * @license https://github.com/zhangrxiang
 * @since 1.0.0
 */


function t( $value ) {
	$t = [
		'tel'   => '手机',
		'email' => '邮箱'
	];
	return $t[$value];
}


echo t('tel');
